FROM jre-1.8.0

MAINTAINER 1343643063@qq.com

ENV TZ=Asia/Shanghai

RUN ln -sf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone

RUN mkdir -p /project/solo

WORKDIR /project/solo

EXPOSE 4001

ADD ./target/solo-code.jar ./

CMD java -Xms128m -Xmx256m -Djava.security.egd=file:/dev/./urandom -jar solo-code.jar
